﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VideoClassLibrary.Model
{
    public  class V_News
    {
        public V_News()
		{}
		#region Model
		private int _id;
		private string _newstitle;
		private string _newscontent;
		private int _categoryid;
		private int _schoolid;
		private int _ispublished;
		private int _createrid;
		private string _creatername;
		private DateTime _createdtime;
		private DateTime _updatetime;
        private string _newsAuthor;
        private string _newsImage;


		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string NewsTitle
		{
			set{ _newstitle=value;}
			get{return _newstitle;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string NewsContent
		{
			set{ _newscontent=value;}
			get{return _newscontent;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int CategoryId
		{
			set{ _categoryid=value;}
			get{return _categoryid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int SchoolId
		{
			set{ _schoolid=value;}
			get{return _schoolid;}
		}
		/// <summary>
		/// 是否发布 0不发布，网站前台看不到  ；1 发布 前台列表可以看到 
		/// </summary>
		public int IsPublished
		{
			set{ _ispublished=value;}
			get{return _ispublished;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int CreaterId
		{
			set{ _createrid=value;}
			get{return _createrid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreaterName
		{
			set{ _creatername=value;}
			get{return _creatername;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime CreatedTime
		{
			set{ _createdtime=value;}
			get{return _createdtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime UpdateTime
		{
			set{ _updatetime=value;}
			get{return _updatetime;}
		}

        /// <summary>
        /// 
        /// </summary>
        public string NewsAuthor
        {
            get { return _newsAuthor; }
            set { _newsAuthor = value; }
        }


        /// <summary>
        /// 
        /// </summary>
        public string NewsImage
        {
            get { return _newsImage; }
            set { _newsImage = value; }
        }
		#endregion Model

	}
}
